package y2017.date0311pm.学生排序;

/**
 * @author Yue
 */
public class Student {
    /**
     * 学号
     */
    private int xuehao;
    /**
     * 名字
     */
    private String name;
    /**
     * 成绩
     */
    private int sorce;

    public Student() {
    }

    public Student(int xuehao, String name, int sorce) {
        super();
        this.xuehao = xuehao;
        this.name = name;
        this.sorce = sorce;
    }


    public int getXuehao() {
        return xuehao;
    }

    public void setXuehao(int xuehao) {
        this.xuehao = xuehao;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSorce() {
        return sorce;
    }

    public void setSorce(int sorce) {
        this.sorce = sorce;
    }

    @Override
    public String toString() {
        return "Student [xuehao=" + xuehao + ", name=" + name + ", sorce="
                + sorce + "]";
    }


}
